package com.example.mushroom.service;

import com.example.mushroom.entity.User;
import java.util.List;

public interface UserService {
    int insertUser(User user);
    User selectUserById(Integer id);
    List<User> selectAllUsers();
    User selectUserByUsername(String username);
    int updateUser(User user);
    int deleteUserById(Integer id);
    List<User> selectUsersByPage(int offset, int limit);
}